package com.entity.teacher;


import javax.persistence.*;

@Entity
@Table(name = "t_connect")
public class TConnect {
    @Id
    private Long id;
    private String connect;
    @Column(name = "t_id")
    private Long tid;

/*    @OneToOne
    @JoinColumn(name = "t_id", referencedColumnName = "t_id", unique = true)
    private Teacher teacher;*/

    public Long getTid() {
        return tid;
    }

    public void setTid(Long tid) {
        this.tid = tid;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getConnect() {
        return connect;
    }

    public void setConnect(String connect) {
        this.connect = connect;
    }
}
